//
//  OrderAccount.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/2/10.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class OrderAccount: NSObject {

    @objc var mobile:String?
    @objc var username:String?
    @objc var idnumber:String?
    @objc var passenger:String?
    
    init(dict:[String:String]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["mobile","username","idnumber","passenger"]).description
    }
}
